package com.javasm.mapper.B2cOrderMapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.javasm.domin.entity.orderEntity.B2cOrder;
import com.javasm.domin.vo.orderVo.OrderAndReceiver;
import com.javasm.domin.vo.orderVo.ProductVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author lys
 * @since 2021-11-20
 */
public interface OrderMapper extends BaseMapper<B2cOrder> {

    List<OrderAndReceiver> findList();

    Integer updateOrderStatus(@Param("orderId") Serializable orderId);

    Integer updateStatus(@Param("orderId") Serializable orderId);
//    List<OrderAndReceiver> findByIdList();
}
